#ifndef SETTINGSMANAGER_H
#define SETTINGSMANAGER_H

class QSettings;
#include <QVariant>
#include <QMap>

enum SettingsKey {UserID, Password, Remember};

class SettingsManager
{
public:
    SettingsManager();
    ~SettingsManager();

    void                        saveSettings(const QMap<SettingsKey, QVariant> &);
    QMap<SettingsKey, QVariant> readSettings() const;

private:
    QSettings                   *settings;
};

#endif // SETTINGSMANAGER_H
